module Mealy::HelperMethods
Various helper methods
Public Class Methods
Label(convertee)
click to toggle source
Converts types to Labels. {Mealy::DSL#transition} calls this to convert anything to a {Label}. @return [Label]
# File lib/mealy/helper_methods.rb, line 11 def self.Label(convertee) if convertee.kind_of?(Label) then convertee else Label.new(convertee) end end