Class: Locomotive::Steam::Liquid::Drops::MetafieldsNamespace

Inherits:
Base
  • Object
show all
Defined in:
lib/locomotive/steam/liquid/drops/metafields.rb

Instance Method Summary collapse

Methods inherited from Base

#as_json, #id, #initialize

Constructor Details

This class inherits a constructor from Locomotive::Steam::Liquid::Drops::Base

Instance Method Details

#before_method(meth) ⇒ Object



13
14
15
# File 'lib/locomotive/steam/liquid/drops/metafields.rb', line 13

def before_method(meth)
  find_value(meth.to_s)
end

#namespace=(namespace) ⇒ Object



17
18
19
# File 'lib/locomotive/steam/liquid/drops/metafields.rb', line 17

def namespace=(namespace)
  @namespace = namespace
end