Class: OneWire::Config

Inherits:
Struct
  • Object
show all
Includes:
Singleton
Defined in:
lib/one_wire/config.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#dirallObject

Returns the value of attribute dirall

Returns:

  • (Object)

    the current value of dirall



4
5
6
# File 'lib/one_wire/config.rb', line 4

def dirall
  @dirall
end

#hostObject

Returns the value of attribute host

Returns:

  • (Object)

    the current value of host



4
5
6
# File 'lib/one_wire/config.rb', line 4

def host
  @host
end

#portObject

Returns the value of attribute port

Returns:

  • (Object)

    the current value of port



4
5
6
# File 'lib/one_wire/config.rb', line 4

def port
  @port
end

#retriesObject

Returns the value of attribute retries

Returns:

  • (Object)

    the current value of retries



4
5
6
# File 'lib/one_wire/config.rb', line 4

def retries
  @retries
end

#retry_intervalObject

Returns the value of attribute retry_interval

Returns:

  • (Object)

    the current value of retry_interval



4
5
6
# File 'lib/one_wire/config.rb', line 4

def retry_interval
  @retry_interval
end

#unitsObject

Returns the value of attribute units

Returns:

  • (Object)

    the current value of units



4
5
6
# File 'lib/one_wire/config.rb', line 4

def units
  @units
end

Class Method Details

.method_missing(*args) ⇒ Object



7
8
9
# File 'lib/one_wire/config.rb', line 7

def self.method_missing(*args)
  instance.send(*args)
end