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:

  • (String)


10
11
12
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 10

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

#pubspec_parameterString

Returns:

  • (String)

Raises:



15
16
17
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 15

def pubspec_parameter
  raise UNIMPLEMENTED_ERROR
end

#summaryString

Returns:

  • (String)


20
21
22
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 20

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