Module: Wedge::Methods
- Included in:
- Wedge, Component, Config, DOM, HTML, Plugins::Form, Plugins::Form::Validations, Store
- Defined in:
- lib/wedge/utilis/methods.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 |
# File 'lib/wedge/utilis/methods.rb', line 3 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#client? ⇒ Boolean
21 22 23 |
# File 'lib/wedge/utilis/methods.rb', line 21 def client? self.class.client? end |
#server? ⇒ Boolean
17 18 19 |
# File 'lib/wedge/utilis/methods.rb', line 17 def server? self.class.server? end |