class Componentr::Inputr
Public Class Methods
new(inputs)
click to toggle source
# File lib/componentr/inputr.rb, line 2 def initialize(inputs) @inputs = inputs end
Public Instance Methods
hi()
click to toggle source
# File lib/componentr/inputr.rb, line 6 def hi case @inputs when "spanish" "hola mundo" when "korean" "anyoung ha se yo" else "hello world" end end