class Billme::Section

Attributes

data[R]

Public Class Methods

new() click to toggle source
# File lib/billme/section.rb, line 5
def initialize
        @data = {}
end

Public Instance Methods

method_missing(name, *args, &block) click to toggle source
Calls superclass method
# File lib/billme/section.rb, line 9
def method_missing(name, *args, &block)
        return @data[name.to_sym] = args[0] unless block_given?
        super "Not supported!"
end