Class: ActiveRecord::XmlSerializer::Attribute

Inherits:
Object
  • Object
show all
Defined in:
lib/ruboss4ruby/active_foo.rb

Overview

Strips ‘?’ from serialized method names

Instance Method Summary collapse

Instance Method Details

#display_nameObject

Strips ‘?’ from serialized method names



155
156
157
# File 'lib/ruboss4ruby/active_foo.rb', line 155

def display_name
  @name.gsub('?','')
end