lib/smirk/category.rb in smirk-0.0.6 vs lib/smirk/category.rb in smirk-0.0.7
- old
+ new
@@ -1,10 +1,10 @@
module Smirk
class Category < Client
def initialize(session_id, info)
info.each do |key, value|
- instance_variable_set("@#{key.downcase}", value)
+ instance_variable_set("@#{key}", value)
Category.instance_eval do
attr_reader key.downcase.to_sym
end
end
@session_id = session_id
\ No newline at end of file