lib/osheet/meta_element.rb in osheet-0.5.0 vs lib/osheet/meta_element.rb in osheet-0.6.0
- old
+ new
@@ -1,7 +1,7 @@
module Osheet::MetaElement
def meta(value=nil)
- value.nil? ? instance_variable_get("@meta") : instance_variable_set("@meta", value)
+ value.nil? ? get_ivar(:meta) : set_ivar(:meta, value)
end
end