Class: Copyable::Declarations::Declaration

Inherits:
Object
  • Object
show all
Defined in:
lib/copyable/declarations/declaration.rb

Class Method Summary collapse

Class Method Details

.method_nameObject



5
6
7
# File 'lib/copyable/declarations/declaration.rb', line 5

def self.method_name
  self.name.demodulize.underscore
end

.required?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/copyable/declarations/declaration.rb', line 9

def self.required?
  true
end