Module: DefinedMethods
- Defined in:
- lib/defined_methods.rb,
lib/defined_methods/version.rb,
lib/defined_methods/instance.rb,
lib/defined_methods/singleton.rb
Defined Under Namespace
Modules: Instance, Singleton
Constant Summary
collapse
- VERSION =
'0.1.0'
Class Method Summary
collapse
Class Method Details
.fqmn(group, method) ⇒ Object
18
19
20
21
|
# File 'lib/defined_methods.rb', line 18
def fqmn(group, method)
separator = group[:singleton] ? '.' : '#'
group[:object_name] + separator + method.to_s
end
|