Class: PlantScraper::PlantFilter

Inherits:
Object
  • Object
show all
Defined in:
lib/plant_info_scraper/plant_filter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#heightObject

Returns the value of attribute height.



2
3
4
# File 'lib/plant_info_scraper/plant_filter.rb', line 2

def height
  @height
end

#plant_typeObject

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_typeObject

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