Class: Gmd::ExtraBinding

Inherits:
Object
  • Object
show all
Extended by:
Helpers
Defined in:
lib/gmd.rb

Class Method Summary collapse

Methods included from Helpers

date_and_time

Class Method Details

.method_missing(method_sym, *arguments, &block) ⇒ Object



116
117
118
119
120
121
122
# File 'lib/gmd.rb', line 116

def method_missing(method_sym, *arguments, &block)
  if Gmd.respond_to?(method_sym)
    Gmd.__send__(method_sym, *arguments, &block)
  else
    super
  end
end

.respond_to?(method_sym) ⇒ Boolean

Returns:

  • (Boolean)


124
125
126
# File 'lib/gmd.rb', line 124

def respond_to?(method_sym)
  super || Gmd.respond_to?(method_sym)
end