lib/spot/base.rb in spot-0.1.4 vs lib/spot/base.rb in spot-2.0.0

- old
+ new

@@ -1,7 +1,7 @@ require "abstract" -module SpotContainer +module Spot class Base attr_reader :name def initialize(args) args.keys.each { |name| instance_variable_set "@" + name.to_s.gsub(/[^a-z]/i, ''), args[name] } \ No newline at end of file