Class: ClosedStruct
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- ClosedStruct
- Defined in:
- lib/jekyll/core_ext.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(symbol, *args) ⇒ Object
26 27 28 |
# File 'lib/jekyll/core_ext.rb', line 26 def method_missing(symbol, *args) raise(NoMethodError, "undefined method `#{symbol}' for #{self}") end |