Class: CheckInput
- Inherits:
-
Object
- Object
- CheckInput
- Defined in:
- lib/asker/check_input.rb
Instance Method Summary collapse
Instance Method Details
#check(filepath) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/asker/check_input.rb', line 5 def check(filepath) @filepath = filepath # Check HAML file syntax exist = check_file_exist return false unless exist check_file_content end |