Class: PlantScraper::PlantFilter
- Inherits:
-
Object
- Object
- PlantScraper::PlantFilter
- Defined in:
- lib/plant_info_scraper/plant_filter.rb
Instance Attribute Summary collapse
-
#height ⇒ Object
Returns the value of attribute height.
-
#plant_type ⇒ Object
Returns the value of attribute plant_type.
-
#sun_type ⇒ Object
Returns the value of attribute sun_type.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ PlantFilter
constructor
A new instance of PlantFilter.
Constructor Details
#initialize(attributes) ⇒ PlantFilter
Returns a new instance of PlantFilter.
4 5 6 |
# File 'lib/plant_info_scraper/plant_filter.rb', line 4 def initialize(attributes) end |
Instance Attribute Details
#height ⇒ Object
Returns the value of attribute height.
2 3 4 |
# File 'lib/plant_info_scraper/plant_filter.rb', line 2 def height @height end |
#plant_type ⇒ Object
Returns the value of attribute plant_type.
2 3 4 |
# File 'lib/plant_info_scraper/plant_filter.rb', line 2 def plant_type @plant_type end |
#sun_type ⇒ Object
Returns the value of attribute sun_type.
2 3 4 |
# File 'lib/plant_info_scraper/plant_filter.rb', line 2 def sun_type @sun_type end |