Method: Smartdown::Model::FrontMatter#method_missing

Defined in:
lib/smartdown/model/front_matter.rb

#method_missing(method_name, *args, &block) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/smartdown/model/front_matter.rb', line 8

def method_missing(method_name, *args, &block)
  if has_attribute?(method_name)
    fetch(method_name)
  else
    super
  end
end