Method: Osm::Section#explorers?

Defined in:
lib/osm/section.rb

#explorers?Boolean

Check if this is an Explorers section

Returns:

  • (Boolean)


364
365
366
367
368
# File 'lib/osm/section.rb', line 364

[:beavers, :cubs, :scouts, :explorers, :network, :adults, :waiting].each do |attribute|
  define_method "#{attribute}?" do
    type == attribute
  end
end