Class: Mxrb::DomainDiagram::Lifecycle::Status
- Inherits:
-
Data
- Object
- Data
- Mxrb::DomainDiagram::Lifecycle::Status
- Defined in:
- lib/mxrb/domain_diagram/lifecycle.rb
Instance Attribute Summary collapse
-
#log ⇒ Object
readonly
Returns the value of attribute log.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
-
#pid ⇒ Object
readonly
Returns the value of attribute pid.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#log ⇒ Object (readonly)
Returns the value of attribute log
21 22 23 |
# File 'lib/mxrb/domain_diagram/lifecycle.rb', line 21 def log @log end |
#output ⇒ Object (readonly)
Returns the value of attribute output
21 22 23 |
# File 'lib/mxrb/domain_diagram/lifecycle.rb', line 21 def output @output end |
#pid ⇒ Object (readonly)
Returns the value of attribute pid
21 22 23 |
# File 'lib/mxrb/domain_diagram/lifecycle.rb', line 21 def pid @pid end |
#source ⇒ Object (readonly)
Returns the value of attribute source
21 22 23 |
# File 'lib/mxrb/domain_diagram/lifecycle.rb', line 21 def source @source end |
#state ⇒ Object (readonly)
Returns the value of attribute state
21 22 23 |
# File 'lib/mxrb/domain_diagram/lifecycle.rb', line 21 def state @state end |
#url ⇒ Object (readonly)
Returns the value of attribute url
21 22 23 |
# File 'lib/mxrb/domain_diagram/lifecycle.rb', line 21 def url @url end |
Instance Method Details
#running? ⇒ Boolean
22 |
# File 'lib/mxrb/domain_diagram/lifecycle.rb', line 22 def running? = state == 'running' |
#to_h ⇒ Object
23 |
# File 'lib/mxrb/domain_diagram/lifecycle.rb', line 23 def to_h = { state:, source:, output:, url:, pid:, log: }.compact |