class DaFunk::Test

Attributes

battery[RW]
brand[RW]
libs[RW]
logical_number[RW]
model[RW]
name[RW]
root_path[RW]
serial[RW]
tests[RW]

Public Class Methods

configure() { |self| ... } click to toggle source
# File lib/da_funk/test.rb, line 32
def self.configure
  yield self if block_given?

  @root_path      ||= File.dirname("./")
  @serial         ||= "1111111111"
  @logical_number ||= "00001"
  @name           ||= "main"
  @brand          ||= "test"
  @model          ||= "test"
  @battery        ||= "100"
end
mruby?() click to toggle source
# File lib/da_funk/test.rb, line 28
def self.mruby?
  platform == :mruby
end