Libraries
»
api-spec
(0.3.1)
»
Index
»
ApiSpec
»
State
»
set
Method: ApiSpec::State.set
Defined in:
lib/api_spec/state.rb
.
set
(key, value) ⇒
Object
4 5 6
# File 'lib/api_spec/state.rb', line 4
def
set
(
key
,
value
)
state
[
key
.
to_sym
]
=
value
end