Module: FontAwesome::Nokogiri
- Extended by:
- Nokogiri
- Included in:
- Nokogiri
- Defined in:
- lib/font_awesome/nokogiri.rb
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
9
10
11
|
# File 'lib/font_awesome/nokogiri.rb', line 9
def method_missing(method, *args)
raise_exception
end
|
Instance Method Details
#const_missing(const) ⇒ Object
13
14
15
|
# File 'lib/font_awesome/nokogiri.rb', line 13
def const_missing(const)
raise_exception
end
|
#raise_exception ⇒ Object
5
6
7
|
# File 'lib/font_awesome/nokogiri.rb', line 5
def raise_exception
raise LoadError, %{Nokogiri is required to use this feature -- please add "gem 'nokogiri'" to your Gemfile and run "bundle install"}
end
|