class Baleen::Validation::Framework

Public Instance Methods

mandatory_attributes() click to toggle source
# File lib/baleen/validator.rb, line 78
def mandatory_attributes
  [
    :type,
  ]
end
optional_attributes() click to toggle source
# File lib/baleen/validator.rb, line 84
def optional_attributes
  [
    target_files,
    :options,
  ]
end

Private Instance Methods

target_files() click to toggle source
# File lib/baleen/validator.rb, line 93
def target_files
  case @project[:type]
    when "cucumber"; :features
  end
end