Module: TopojsonGenerator
- Defined in:
- lib/topojson_generator.rb
Instance Attribute Summary collapse
-
#state_code ⇒ Object
Returns the value of attribute state_code.
Instance Method Summary collapse
- #topojson_generator(model_object) ⇒ Object
- #topojson_with_state_key(state_key = :state_code) ⇒ Object
Instance Attribute Details
#state_code ⇒ Object
Returns the value of attribute state_code.
2 3 4 |
# File 'lib/topojson_generator.rb', line 2 def state_code @state_code end |
Instance Method Details
#topojson_generator(model_object) ⇒ Object
8 9 |
# File 'lib/topojson_generator.rb', line 8 def topojson_generator(model_object) end |
#topojson_with_state_key(state_key = :state_code) ⇒ Object
4 5 6 |
# File 'lib/topojson_generator.rb', line 4 def topojson_with_state_key(state_key = :state_code) @state_code = state_key end |