Class: BadgerVision::Client::Scene
- Inherits:
-
Object
- Object
- BadgerVision::Client::Scene
- Defined in:
- lib/badger_vision/client.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#probability ⇒ Object
readonly
Returns the value of attribute probability.
Instance Method Summary collapse
-
#initialize(name:, probability:) ⇒ Scene
constructor
A new instance of Scene.
Constructor Details
#initialize(name:, probability:) ⇒ Scene
Returns a new instance of Scene.
66 67 68 69 |
# File 'lib/badger_vision/client.rb', line 66 def initialize(name:, probability:) @name = name @probability = probability end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
64 65 66 |
# File 'lib/badger_vision/client.rb', line 64 def name @name end |
#probability ⇒ Object (readonly)
Returns the value of attribute probability.
64 65 66 |
# File 'lib/badger_vision/client.rb', line 64 def probability @probability end |