Module: Greentext
- Defined in:
- lib/greentext.rb,
lib/greentext/base.rb,
lib/greentext/post.rb,
lib/greentext/board.rb,
lib/greentext/client.rb,
lib/greentext/client/post.rb,
lib/greentext/client/board.rb
Overview
Public: The main Greentext module.
Defined Under Namespace
Classes: Base, Board, Client, Post
Class Method Summary collapse
-
.client ⇒ Object
Public: An instance of the client when calling methods on the Greentext module.
- .respond_to?(method_name, include_private = false) ⇒ Boolean
Class Method Details
.client ⇒ Object
Public: An instance of the client when calling methods
on the Greentext module.
Returns an Instance of Greentext::Client
10 11 12 |
# File 'lib/greentext.rb', line 10 def client @client ||= Greentext::Client.new end |
.respond_to?(method_name, include_private = false) ⇒ Boolean
14 15 16 |
# File 'lib/greentext.rb', line 14 def respond_to?(method_name, include_private=false) client.respond_to?(method_name, include_private) || super end |