Class: ZhLorem

Inherits:
Object
  • Object
show all
Extended by:
Helpers
Defined in:
lib/zh-lorem.rb

Overview

Author

Kang-min Liu (gugod.org)

Copyright

Copyright © 2012 Kang-min Liu

License

MIT

Contributors

github.com/gugod/zh-lorem/contributors

Defined Under Namespace

Modules: Helpers

Constant Summary

Constants included from Helpers

Helpers::SENTENCES

Instance Method Summary collapse

Methods included from Helpers

zh_lorem_email, zh_lorem_first_name, zh_lorem_first_name_pinyin, zh_lorem_last_name, zh_lorem_last_name_pinyin, zh_lorem_name, zh_lorem_name_pinyin, zh_lorem_paragraph, zh_lorem_paragraphs, zh_lorem_sentence, zh_lorem_sentences, zh_lorem_word, zh_lorem_words

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(m, *args) ⇒ Object



162
163
164
# File 'lib/zh-lorem.rb', line 162

def method_missing(m, *args)
  ZhLorem.send(m, *args)
end