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