Class: JapanShippingCSV::Ehiden::Field
- Inherits:
-
Object
- Object
- JapanShippingCSV::Ehiden::Field
- Defined in:
- lib/japan_shipping_csv/ehiden.rb
Instance Attribute Summary collapse
-
#spec ⇒ Object
readonly
Returns the value of attribute spec.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
- #encoding_errors ⇒ Object
-
#initialize(spec, value) ⇒ Field
constructor
A new instance of Field.
Constructor Details
Instance Attribute Details
#spec ⇒ Object (readonly)
Returns the value of attribute spec.
34 35 36 |
# File 'lib/japan_shipping_csv/ehiden.rb', line 34 def spec @spec end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
34 35 36 |
# File 'lib/japan_shipping_csv/ehiden.rb', line 34 def value @value end |
Instance Method Details
#encoding_errors ⇒ Object
42 43 44 |
# File 'lib/japan_shipping_csv/ehiden.rb', line 42 def encoding_errors @spec.encoding_errors(@value) end |