Class: DocWrapper::RawPropertyDefinition
- Inherits:
-
BasePropertyDefinition
- Object
- BasePropertyDefinition
- DocWrapper::RawPropertyDefinition
- Defined in:
- lib/doc_wrapper/raw_property_definition.rb
Instance Attribute Summary
Attributes inherited from BasePropertyDefinition
#block, #options, #property_name, #selector, #type
Instance Method Summary collapse
Methods inherited from BasePropertyDefinition
Constructor Details
This class inherits a constructor from DocWrapper::BasePropertyDefinition
Instance Method Details
#transform(result) ⇒ Object
3 4 5 6 |
# File 'lib/doc_wrapper/raw_property_definition.rb', line 3 def transform (result) result = block.call(result) if block result end |