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