class Pebbles::LoveLive::Story::StoryItem
Public Class Methods
new(hash)
click to toggle source
# File lib/pebbles/lovelive/story.rb, line 41 def initialize(hash) hash.each do |k, v| self.instance_variable_set("@#{k}", v) self.class.send(:define_method, k, proc { self.instance_variable_get("@#{k}") }) end end