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.5'
Class Method Summary
collapse
Class Method Details
.fqmn(object_name, method, singleton) ⇒ Object
18
19
20
21
|
# File 'lib/defined_methods.rb', line 18
def fqmn(object_name, method, singleton)
separator = singleton ? '.' : '#'
object_name + separator + method.to_s
end
|