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

#nameObject



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

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

#pubspec_parameterObject



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

def pubspec_parameter
  raise UNIMPLEMENTED_ERROR
end

#summaryObject



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

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