Method: Date::Format::Bag#method_missing

Defined in:
lib/framework/date/format.rb

#method_missing(t, *args, &block) ⇒ Object



119
120
121
122
123
124
125
126
127
128
# File 'lib/framework/date/format.rb', line 119

def method_missing(t, *args, &block)
	t = t.to_s
	set = t.chomp!('=')
	t = t.intern
	if set
	  @elem[t] = args[0]
	else
	  @elem[t]
	end
end