Class: ActiveRecord::XmlSerializer::Attribute

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

Overview

Strips ‘?’ from serialized method names

Instance Method Summary collapse

Instance Method Details

#display_nameObject

Strips ‘?’ from serialized method names



163
164
165
# File 'lib/restfulx/active_foo.rb', line 163

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