Class: FlutterRb::PluginPubspecCheck

Inherits:
Check
  • Object
show all
Defined in:
lib/flutter_rb/checks/plugin_pubspec_check.rb

Overview

Base class for all info parameters in Flutter plugin pubspec.yaml file

Constant Summary

Constants inherited from Check

Check::UNIMPLEMENTED_ERROR

Instance Method Summary collapse

Methods inherited from Check

#check, #description

Instance Method Details

#nameString

Returns:



8
9
10
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 8

def name
  "PluginPubspec#{pubspec_parameter.capitalize}Check"
end

#pubspec_parameterString

Returns:

Raises:



13
14
15
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 13

def pubspec_parameter
  raise UNIMPLEMENTED_ERROR
end

#summaryString

Returns:



18
19
20
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 18

def summary
  "Validate Flutter plugin's #{pubspec_parameter} in pubspec.yaml"
end