module Mobility::Plugins::Attributes

Takes arguments, converts them to strings, and stores in an array +@names+, made available with an attr_reader. Also provides some convenience methods for aggregating attributes.

Attributes

names[R]

Attribute names for which accessors will be defined @return [Array<String>] Array of names

Public Instance Methods

inspect() click to toggle source

Show useful information about this module. @return [String]

# File lib/mobility/plugins/attributes.rb, line 24
def inspect
  "#<Translations @names=#{names.join(", ")}>"
end