Created
March 9, 2020 02:12
-
-
Save tianhaoz95/8d8d424567dad20919c05a443d2545c6 to your computer and use it in GitHub Desktop.
example code to load Flutter project configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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