struct
Crowbar::ScopeConfig
- Crowbar::ScopeConfig
- Struct
- Value
- Object
Overview
Serializable configuration for a scoped target region
Included Modules
- JSON::Serializable
Defined in:
crowbar/session.crConstructors
- .new(name : String, selector_type : String, params : Hash(String, String) = Hash(String, String).new, weight : Float64 = 1.0)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
- #name : String
- #name=(name : String)
- #params : Hash(String, String)
- #params=(params : Hash(String, String))
- #selector_type : String
- #selector_type=(selector_type : String)
- #weight : Float64
- #weight=(weight : Float64)
Constructor Detail
def self.new(name : String, selector_type : String, params : Hash(String, String) = Hash(String, String).new, weight : Float64 = 1.0)
#