Top Level Namespace
Defined Under Namespace
Modules: Emoji Classes: ForgeryJa, UnicodeSymbol
Instance Method Summary collapse
-
#ForgeryJa(forgery, method = nil, *args) ⇒ Object
ForgeryJa Api.
Instance Method Details
#ForgeryJa(forgery, method = nil, *args) ⇒ Object
ForgeryJa Api
3 4 5 6 7 8 9 10 |
# File 'lib/forgery_ja/forgery_ja_api.rb', line 3 def ForgeryJa(forgery, method=nil, *args) klass = "ForgeryJa::#{forgery.to_s.camelize}".constantize if method klass.send(method, *args) else klass end end |