Class: Fiona7::AttributeReaders::Simple
- Inherits:
-
AttributeReader
- Object
- AttributeReader
- Fiona7::AttributeReaders::Simple
- Defined in:
- lib/fiona7/attribute_readers/simple.rb
Instance Method Summary collapse
Methods inherited from AttributeReader
Constructor Details
This class inherits a constructor from Fiona7::AttributeReaders::AttributeReader
Instance Method Details
#call ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/fiona7/attribute_readers/simple.rb', line 6 def call value = self.obj[self.attr_name] if self.attr_name.to_s == "suppress_export" value.to_s else value end end |