impressionist/spec/spec_helper.rb

6 lines
117 B
Ruby

module Impressionist
def self.mattr_accessor(accessor)
class_variable_set("@@#{accessor}", accessor)
end
end