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
class Team | |
attr_accessor :name, :sport | |
def initialize(name, sport) | |
@name = name | |
@sport = sport | |
end | |
end |
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
x_position = 0 | |
y_position = 0 | |
possible_moves = [] | |
#vertical | |
vert_x =Array.new(8, x_position) | |
vert_y =(0..7).to_a | |
ary_vert = vert_x.zip(vert_y) | |
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
// Work around for https://github.com/angular/angular-cli/issues/7200 | |
const path = require('path'); | |
const webpack = require('webpack'); | |
module.exports = { | |
entry: { | |
// This is our Express server for Dynamic universal | |
server: './server.ts', | |
// This is an example of Static prerendering (generative) |