Class: Streamdal::TestObj
- Inherits:
-
Object
- Object
- Streamdal::TestObj
- Defined in:
- lib/schema_spec.rb
Instance Attribute Summary collapse
-
#stub ⇒ Object
Returns the value of attribute stub.
Instance Method Summary collapse
- #_metadata ⇒ Object
-
#initialize ⇒ TestObj
constructor
A new instance of TestObj.
Methods included from Audiences
#_add_audience, #_add_audiences, #_seen_audience, #aud_to_str, #str_to_aud
Methods included from Schemas
#_get_schema, #_handle_schema, #_set_schema
Constructor Details
#initialize ⇒ TestObj
Returns a new instance of TestObj.
21 22 23 24 |
# File 'lib/schema_spec.rb', line 21 def initialize @schemas = {} @stub = RSpec::Mocks::Double.new("stub", { send_schema: nil }) end |
Instance Attribute Details
#stub ⇒ Object
Returns the value of attribute stub.
19 20 21 |
# File 'lib/schema_spec.rb', line 19 def stub @stub end |
Instance Method Details
#_metadata ⇒ Object
26 27 28 |
# File 'lib/schema_spec.rb', line 26 def {} end |