Sha256: 19c25118d474c9d8c53311295cceaf5f7761f499ccde9fc8144ca4f1ab6d338c

Contents?: true

Size: 247 Bytes

Versions: 1

Compression:

Stored size: 247 Bytes

Contents

require "hello_man/version"

class HelloMan
  def greetingable(input)
    if ['moorning', 'afternoon', 'evening', 'night'].include? input
      output = "good #{input}"
    else
      output = "this is not a time from the day!"
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hello_man-0.1.0 lib/hello_man.rb