Method: Alula::Site#method_missing
- Defined in:
- lib/alula/site.rb
#method_missing(meth, *args, &blk) ⇒ Object
Proxy to metadata
171 172 173 174 175 176 177 178 179 |
# File 'lib/alula/site.rb', line 171 def method_missing(meth, *args, &blk) # Proxy to metadata if !meth[/=$/] and self..respond_to?(meth) args.unshift(self.context.locale || self.config.locale) if args.empty? self..send(meth, *args) else super end end |