class Rota
Public Class Methods
new(givenName, givenType, givenRequest, givenDataInput, inputList, outputList)
click to toggle source
# File lib/PhariDocGen/Rota.rb, line 9 def initialize(givenName, givenType, givenRequest, givenDataInput, inputList, outputList) @type = givenType @name = givenName @request = givenRequest @dataInput = givenDataInput @inputs = inputList @outputs = outputList end
Public Instance Methods
dataInput()
click to toggle source
# File lib/PhariDocGen/Rota.rb, line 30 def dataInput @dataInput end
inputs()
click to toggle source
# File lib/PhariDocGen/Rota.rb, line 34 def inputs @inputs end
name()
click to toggle source
# File lib/PhariDocGen/Rota.rb, line 22 def name @name end
outputs()
click to toggle source
# File lib/PhariDocGen/Rota.rb, line 38 def outputs @outputs end
printSelf()
click to toggle source
# File lib/PhariDocGen/Rota.rb, line 42 def printSelf puts"\n\nNome: #{@name}Tipo: #{@type}\nInputs:" @input.each(&:printSelf) puts'Outputs:' @output.each do |output| if output != 'nil' output.printSelf else puts'nil' end end end
request()
click to toggle source
# File lib/PhariDocGen/Rota.rb, line 26 def request @request end
type()
click to toggle source
# File lib/PhariDocGen/Rota.rb, line 18 def type @type end