class Dongfeng::A
Public Class Methods
new(p)
click to toggle source
# File lib/dongfeng/a.rb, line 2 def initialize(p) @p = p end
Public Instance Methods
test()
click to toggle source
# File lib/dongfeng/a.rb, line 5 def test case @p when "a" return "a" when "b" return "b" else return "else" end end