Module: ActiveFacts::API::ValueClass
- Included in:
- Decimal
- Defined in:
- lib/activefacts/api/standard_types.rb
Overview
Adapter module to add value_type to all potential value classes
Instance Method Summary collapse
-
#value_type(*args, &block) ⇒ Object
:nodoc:.
Instance Method Details
#value_type(*args, &block) ⇒ Object
:nodoc:
16 17 18 19 20 |
# File 'lib/activefacts/api/standard_types.rb', line 16 def value_type *args, &block #:nodoc: include ActiveFacts::API::Value # the included method adds the Value::ClassMethods initialise_value_type(*args, &block) end |