Class: InItaliano::Translations

Inherits:
Object
  • Object
show all
Defined in:
lib/in_italiano/translations.rb

Constant Summary collapse

STRING =
{
  append_as_bytes: "aggiungere come byte",
  ascii_only?: "solo ascii?",
  b: "b",
  byteindex: "indice dei byte",
  bytes: "i byte",
  capitalize: "capitalizzare"
}

Class Method Summary collapse

Class Method Details

.find(class_name, method_name) ⇒ Object



12
13
14
15
16
# File 'lib/in_italiano/translations.rb', line 12

def self.find(class_name, method_name)
  if class_name == :string
    STRING[method_name]
  end
end