Sha256: 83dc5ade4ef12b668cdd9e615006b91305c84cb16e010b7f136be49e93463afd

Contents?: true

Size: 229 Bytes

Versions: 11

Compression:

Stored size: 229 Bytes

Contents

module Billme
	class Section
		attr_reader :data

		def initialize
			@data = {}
		end

		def method_missing(name, *args, &block)
			return @data[name.to_sym] = args[0] unless block_given?
			super "Not supported!"
		end
	end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
billme-0.44.0 lib/billme/section.rb
billme-0.40.0 lib/billme/section.rb
billme-0.38.0 lib/billme/section.rb
billme-0.37.0 lib/billme/section.rb
billme-0.20.0 lib/billme/section.rb
billme-0.19.0 lib/billme/section.rb
billme-0.13.0 lib/billme/section.rb
billme-0.6.0 lib/billme/section.rb
billme-0.5.0 lib/billme/section.rb
billme-0.2.0 lib/billme/section.rb
billme-0.1.0 lib/billme/section.rb