lib/mdoc/meta.rb in mdoc-0.0.8 vs lib/mdoc/meta.rb in mdoc-0.0.9
- old
+ new
@@ -5,10 +5,10 @@
## parsed meta information from the source file
class Meta < OpenStruct
def load(contents)
# contents is expected as a hash in yaml format
- YAML.load(contents).each { |k, v| self.send("#{k}=".to_sym, v) }
+ YAML.load(contents).each { |k, v| send("#{k}=".to_sym, v) }
self
end
end
end