Class: OpenMenu
Defined Under Namespace
Classes: Contact, Crosswalk, Delivery, Logo, Menu, OnlineOrder, OnlineReservation, OperatingDay, ParentCompany, Parking, RegionArea
Constant Summary collapse
- VERSION =
'0.2.1'
Instance Method Summary collapse
- #online_orders? ⇒ Boolean
- #online_reservations? ⇒ Boolean
-
#private? ⇒ Boolean
Public: Test if this OpenMenu is private.
Instance Method Details
#online_orders? ⇒ Boolean
168 169 170 |
# File 'lib/open_menu.rb', line 168 def online_orders? online_orders.size > 0 end |
#online_reservations? ⇒ Boolean
154 155 156 |
# File 'lib/open_menu.rb', line 154 def online_reservations? online_reservations.size > 0 end |
#private? ⇒ Boolean
Public: Test if this OpenMenu is private
Returns true if private.
14 15 16 |
# File 'lib/open_menu.rb', line 14 def private? private == 'private' end |