Skip to content

Commit 2fbdabc

Browse files
Update hyper-store.md
1 parent ea6b988 commit 2fbdabc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/dsl-client/hyper-store.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ end
112112
You can keep the logic around initialization in your Store. Remember that in Ruby your class instance variables can be initialized as the class is defined:
113113

114114
```ruby
115-
class CardStatusStore < HyperStore
115+
class CardStore
116+
include Hyperstack::State::Observable
116117

117118
@show_card_status = true
118119
@show_card_details = false

0 commit comments

Comments
 (0)