Skip to content

Instantly share code, notes, and snippets.

@tianhaoz95
Created March 9, 2020 02:12
Show Gist options
  • Save tianhaoz95/8d8d424567dad20919c05a443d2545c6 to your computer and use it in GitHub Desktop.
Save tianhaoz95/8d8d424567dad20919c05a443d2545c6 to your computer and use it in GitHub Desktop.
example code to load Flutter project configuration
require 'yaml'
pubspec_location = params[:pubspec_location]
pubspec = YAML.load_file(pubspec_location)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment