method

method_missing

v1_8_6_287 - Show latest stable - Class: Date::Format::Bag
method_missing(t, *args, &block)
public

No documentation available.

# File lib/date/format.rb, line 103
      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