Class: Preseason::Config::IE8
- Inherits:
-
Object
- Object
- Preseason::Config::IE8
- Includes:
- Preseason::Config
- Defined in:
- lib/preseason/config/ie8.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Returns the value of attribute enabled.
Instance Method Summary collapse
Methods included from Preseason::Colorize
Methods included from GeneratorContext
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Preseason::GeneratorContext
Instance Attribute Details
#enabled ⇒ Object
Returns the value of attribute enabled.
6 7 8 |
# File 'lib/preseason/config/ie8.rb', line 6 def enabled @enabled end |
Instance Method Details
#ask_user ⇒ Object
8 9 10 |
# File 'lib/preseason/config/ie8.rb', line 8 def ask_user self.enabled = yes? "Will this app need to support Internet Explorer 8 (install selectivizr.js and respond.js)? [y/n]" end |
#enabled? ⇒ Boolean
12 13 14 |
# File 'lib/preseason/config/ie8.rb', line 12 def enabled? enabled end |