Module: Riser::Resource::DelegateUnrefAlias
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object
99
100
101
102
103
104
105
|
# File 'lib/riser/resource.rb', line 99
def method_missing(name, *args, &block)
if (@unref_alias_set.include? name.to_sym) then
__unref__
else
super
end
end
|
Instance Method Details
#respond_to_missing?(name, include_private) ⇒ Boolean
107
108
109
110
111
112
113
|
# File 'lib/riser/resource.rb', line 107
def respond_to_missing?(name, include_private)
if (@unref_alias_set.include? name.to_sym) then
true
else
super
end
end
|