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
49 50 51 |
# File 'lib/jekyll/core_ext.rb', line 49 def method_missing(symbol, *args) raise(NoMethodError, "undefined method `#{symbol}' for #{self}") end |