Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Krikri::PluginResult
Inherits
Reference
<
Object
Plugin result structure with diff support
Constructors
new
(changed :
Bool
, failed :
Bool
, msg :
String
= "", diff :
JSON::Any
|
Nil
= nil, omit_changed :
Bool
= false, include_empty_msg :
Bool
= false, **kwargs)
Source
Instance methods
changed=
(changed :
Bool
)
Source
changed?
Source
diff
Source
diff=
(diff :
JSON::Any
|
Nil
)
Source
extra
Source
extra=
(extra :
Hash
(
String
,
JSON::Any
))
Source
failed=
(failed :
Bool
)
Source
failed?
Source
include_empty_msg=
(include_empty_msg :
Bool
)
Source
include_empty_msg?
Source
msg
Source
msg=
(msg :
String
)
Source
omit_changed
Source
omit_changed=
(omit_changed :
Bool
)
Source
to_json
(io :
IO
) :
Nil
Source