Class: Low::Types::Status
- Extended by:
- ComplexType
- Defined in:
- lib/types/status.rb
Overview
Status is an Integer for basic type checking…
Defined Under Namespace
Classes: StatusCode
Class Method Summary collapse
-
.[](status_code) ⇒ Object
…but becomes an instance of StatusCode when called with “Status” for advanced type checking (status + code).
Methods included from ComplexType
Class Method Details
.[](status_code) ⇒ Object
…but becomes an instance of StatusCode when called with “Status” for advanced type checking (status + code).
13 14 15 |
# File 'lib/types/status.rb', line 13 def self.[](status_code) @status_code = StatusCode.new(status_code) end |