module TokyoMetro::Modules::Common::Info::StationFacility::BarrierFree::WheelChair::MethodMissing
Public Instance Methods
available_to_wheel_chair?()
click to toggle source
@note is_available_to_wheel_chair の別名として、available_to_wheel_chair? を定義
# File lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/method_missing.rb, line 11 def available_to_wheel_chair? is_available_to_wheel_chair end
method_missing( method_name , *args )
click to toggle source
Calls superclass method
# File lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/method_missing.rb, line 15 def method_missing( method_name , *args ) if args.empty? and /wheel(?:_?)chair/ === method_name.to_s case method_name.to_s when /\A(?:(?:is_)?for_)?wheel(?:_)?chair(?:s)?(?:\?)?\Z/ return wheel_chair_accessible? when /\A(?:is_)?wheel(?:_)?chair(?:s)?_accessible(?:\?)?\Z/ return wheel_chair_accessible? when /\A(?:is_)?available_(?:to|for)_wheel(?:_)?chair(?:s)?(?:\?)?\Z/ return available_to_wheel_chair? end end super end
wheel_chair_accessible?()
click to toggle source
@note wheel_chair_accessible の別名として、wheel_chair_accessible? を定義
# File lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/method_missing.rb, line 6 def wheel_chair_accessible? wheel_chair_accessible end