class Android::Devices::Model

Attributes

brand[RW]
device[RW]
manufacturer[RW]
model[RW]

Public Class Methods

new(manufacturer, brand, device, model) click to toggle source
# File lib/android/devices/model.rb, line 6
def initialize(manufacturer, brand, device, model)
  @manufacturer = manufacturer
  @brand = brand
  @device = device
  @model = model
end

Public Instance Methods

name() click to toggle source
# File lib/android/devices/model.rb, line 13
def name
  return "#{@manufacturer} #{@brand}" if @brand
  "#{@manufacturer} #{@model}"
end