Class: Cloudruler::Ruler::Content::Resources

Inherits:
Base
  • Object
show all
Defined in:
lib/cloudruler/ruler/content/resources.rb

Instance Attribute Summary

Attributes inherited from Base

#ruler

Method Summary

Methods inherited from Base

#content, #initialize

Constructor Details

This class inherits a constructor from Cloudruler::Ruler::Content::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args, &block) ⇒ Object (private)



13
14
15
16
# File 'lib/cloudruler/ruler/content/resources.rb', line 13

def method_missing(name, *args, &block)
  return build_name(@annotations[name.to_s]) if @annotations[name.to_s]
  super
end