Module: RGdal::API::ClassMethods
- Defined in:
- lib/rgdal/api.rb
Instance Method Summary collapse
- #driver(name) ⇒ Object
- #format(name) ⇒ Object
- #reference(name) ⇒ Object
- #single_layer?(bool) ⇒ Boolean
Instance Method Details
#driver(name) ⇒ Object
4 5 6 7 8 |
# File 'lib/rgdal/api.rb', line 4 def driver(name) define_method :driver_name do name end end |
#format(name) ⇒ Object
20 21 22 23 24 |
# File 'lib/rgdal/api.rb', line 20 def format(name) define_method :format do name end end |
#reference(name) ⇒ Object
14 15 16 17 18 |
# File 'lib/rgdal/api.rb', line 14 def reference(name) define_method :reference do name end end |
#single_layer?(bool) ⇒ Boolean
10 11 12 |
# File 'lib/rgdal/api.rb', line 10 def single_layer?(bool) define_method(:single_layer?) { bool } end |