Module: AWSCDK::IStableNumberProducer

Defined in:
i_stable_number_producer.rb

Overview

Interface for (stable) lazy number producers.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.jsii_overridable_methodsObject



14
15
16
17
18
# File 'i_stable_number_producer.rb', line 14

def self.jsii_overridable_methods
  {
    :produce => { kind: :method, name: "produce", is_optional: false },
  }
end

Instance Method Details

#produceNumeric?

Produce the number value.

Returns:

  • (Numeric, nil)


10
11
12
# File 'i_stable_number_producer.rb', line 10

def produce()
  jsii_call_method("produce", [])
end