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
| def attrs | |
| @attrs ||= Reading.new.attributes.keys.take(5).last(4) | |
| end | |
| def data | |
| @data ||= File.read("tmp/output_small_test.csv") | |
| end | |
| def rows | |
| data.split() |
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
| #!/usr/bin/env bash | |
| # Use cases | |
| # | |
| # Anonymous function expressions assigned by `=` operator to a variable: | |
| # (with and without arguments) | |
| # | |
| # const aFunc = function () {}; | |
| # | |
| # Anonymous function expressions declared as a property of an object: |
OlderNewer