module SoberSwag::Reporting::Output

Reporting outputs.

These outputs can tell you what their acceptable views are.

Public Class Methods

bool() click to toggle source

@return [SoberSwag::Reporting::Output::Bool]

# File lib/sober_swag/reporting/output.rb, line 31
def bool
  Bool.new
end
null() click to toggle source

@return [SoberSwag::Reporting::Output::Null]

# File lib/sober_swag/reporting/output.rb, line 49
def null
  Null.new
end
number() click to toggle source

@return [SoberSwag::Reporting::Output::Number]

# File lib/sober_swag/reporting/output.rb, line 37
def number
  Number.new
end
text() click to toggle source

@return [SoberSwag::Reporting::Output::Text]

# File lib/sober_swag/reporting/output.rb, line 43
def text
  Text.new
end