Class: Defgen::SetterDecorator

Inherits:
GetterDecorator show all
Defined in:
lib/defgen/decorators/setter_decorator.rb

Instance Method Summary collapse

Methods inherited from GetterDecorator

#get_binding, #objc_type, #parameter

Instance Method Details

#message_prefixObject



3
4
5
# File 'lib/defgen/decorators/setter_decorator.rb', line 3

def message_prefix
  object_setter ? 'Object' : super.upcase_first
end

#prefixObject



7
8
9
# File 'lib/defgen/decorators/setter_decorator.rb', line 7

def prefix
  super.downcase.upcase_first
end